//
//  PKPlayInfo.m
//  PianKe
//
//  Created by lanou on 15/10/6.
//  Copyright (c) 2015年 lanou. All rights reserved.
//

#import "PKPlayInfo.h"

@implementation PKPlayInfo
-(void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"authorinfo"]) {
        self.authorinfo=[[PKRadioAuthoeinfo alloc]init];
        [self.authorinfo setValuesForKeysWithDictionary:value];
    }
    else if ([key isEqualToString:@"shareinfo"])
    {   self.shareinfo=[[PKShareInfo alloc]init];
        [self.shareinfo setValuesForKeysWithDictionary:value];
    }
    else if ([key isEqualToString:@"userinfo"])
    {  self.userinfo=[[PKUserInfo alloc]init];
        [self.userinfo setValuesForKeysWithDictionary:value];
    }
    else
    {
        [super setValue:value forKey:key];
    }
}
@end
